﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;

namespace BasicModuleWebApiAuthorization.Filter
{
    public class AuthFilter : IAuthorizationFilter
    {
        public void OnAuthorization(AuthorizationFilterContext context)
        {
            var data = context.HttpContext.User;
            
            //Console.WriteLine( );
            //context.Result = new UnauthorizedResult();
            //return;
        }
    }
}
